package com.lzh.runke.enums;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lzh.runke.core.web_base.enums.BaseEnum;

/**
 * @Description: 废物形态
 * @Author: LiuZiHao
 * @Date: 2022/12/15 18:43
 */
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum WasteFormsEnum implements BaseEnum<String> {
    UTILIZE("S", "固态"),
    STORAGE("SS", "半固体"),
    BURN("L", "液态"),
    SECURITY_LANDFILL("G", "气态");

    private String value;
    private String text;

    WasteFormsEnum(String value, String text) {
        this.value = value;
        this.text = text;
    }

    @Override
    public String getValue() {
        return this.value;
    }

    @Override
    public String getText() {
        return text;
    }

    @Override
    public String getName() {
        return this.name();
    }
}
